.yspb{
    width: 100vw;
    height: 100vh;
    // overflow: hidden;
    background-color: #f2f2f2;
}

.yspb-top{
    width: 100%;
    height: 40px;
    background-color: #fff;
    // padding-top: 5px;
    display: flex;
    // align-items: center;
}

.yspb-top-left{
    width: 20px;
    height: 20px;
    margin-left: 15px;
    margin-top: 10px;
}

.yspb-top-title{
    margin-left: 130px;
    font-size: 17px;
    margin-top: 10px;
}

.yspb-bg{
    width: 100%;
    height: calc(100vh - 40px);
    background-color: #f2f2f2;
}

.yspb-bg-one{
    width: 100%;
    height: 170px;
    background-color: #fff;
    padding: 20px;
}

.yspb-bg-one-title{
    font-weight: bold;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    position: relative;
}

.yspb-bg-one-title-img{
    width: 50px;
    height: 50px;
    margin-right: 15px;
    border-radius: 50%;
    flex-shrink: 0;
}

.yspb-bg-one-title-text{
    font-size: 18px;
    font-weight: bold;
    color: #000;
    line-height: 1.2;
}

.yspb-doctor-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.yspb-doctor-name {
    font-size: 18px;
    font-weight: bold;
    color: #000;
    line-height: 1.2;
}

.yspb-doctor-title {
    font-size: 14px;
    margin-top: 2px;
    line-height: 1.2;
}

.yspb-rating {
    display: flex;
    align-items: center;
    margin-left: 10px;
}

.yspb-bg-one-title-img2{
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

.yspb-bg-one-title-text5{
    color: #347ce1;
    font-size: 14px;
    font-weight: 500;
}
.yspb-bg-one-title-button{
    width: 60px;
    height: 25px;
    background-color: #e6f3ff;
    border: none;
    border-radius: 16px;
    color: #347ce1;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: auto;
    margin-top: -5px;
    flex-shrink: 0;
    // margin-top: 1px;
    margin-left: 10px;
}
.yspb-bg-one-title-text4{
    margin-left: 10px;
}
.yspb-bg-one-title-text-box2{
    margin-top: 15px;
}
.yspb-bg-one-title-text6{
    margin-left: 10px;
}
.yspb-bg-one-title-text-box3{
    margin-top: 15px;
    width: 100%;
    height: 60px;
    background-color: #ffffff;
    padding: 0 10px;
    display: flex;
    align-items: center;
}

.yspb-announcement {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
}

.yspb-announcement-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    gap: 8px;
}

.yspb-announcement-title {
    font-size: 16px;
    font-weight: bold;
    color: #000;
    line-height: 1.2;
    white-space: nowrap;
    flex-shrink: 0;
}

.yspb-announcement-text-container {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 20px;
}

.yspb-announcement-text {
    font-size: 14px;
    color: #ff6b35;
    line-height: 1.2;
    white-space: nowrap;
    position: absolute;
    right: 0;
    top: 0;
    transform: translateX(100%);
}

.yspb-announcement-text.animate {
    animation: slideInFromRight 6s ease-out forwards;
}

.yspb-announcement-text:not(.animate) {
    transform: translateX(0);
}

@keyframes slideInFromRight {
    0% {
        transform: translateX(100%);
    }
    40% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(0);
    }
}
.yspb-bg-one-title-text-box4{
    width: 100%;
    min-height: 430px;
    background-color: #fff;
    margin-top: 10px;
    padding: 15px;
    transition: all 0.3s ease;
}

.yspb-schedule-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
}

.yspb-schedule-title {
    font-size: 16px;
    font-weight: bold;
    color: #000;
}

.yspb-registration-fee {
    font-size: 14px;
    color: #666;
}

.yspb-fee-amount {
    color: #ff4d4f;
    font-weight: bold;
}

.yspb-schedule-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.3s ease;
}

.yspb-schedule-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
}

.yspb-schedule-time {
    flex: 1;
    font-size: 14px;
    color: #333;
    min-width: 120px;
}

.yspb-schedule-availability {
    font-size: 14px;
    color: #20b2aa;
    margin-right: 10px;
    min-width: 50px;
    text-align: center;
}

.yspb-schedule-availability.unavailable {
    color: #999;
}

.yspb-schedule-status {
    background-color: #f0f0f0;
    color: #666;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin-right: 10px;
    min-width: 50px;
    text-align: center;
}

.yspb-schedule-action {
    background-color: #1890ff;
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    min-width: 50px;
    text-align: center;
    transition: background-color 0.3s;
}

.yspb-schedule-action:hover {
    background-color: #40a9ff;
}

.yspb-schedule-action.unavailable {
    background-color: #d9d9d9;
    color: #999;
    cursor: not-allowed;
}

.yspb-schedule-action.unavailable:hover {
    background-color: #d9d9d9;
}

.yspb-schedule-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
    padding-top: 10px;
    cursor: pointer;
}

.yspb-all-schedule {
    color: #1890ff;
    font-size: 14px;
    margin-right: 5px;
}

.yspb-chevron {
    color: #1890ff;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.yspb-chevron.expanded {
    transform: rotate(180deg);
}

.yspb-bg-one-title-text-box5 {
    width: 100%;
    background-color: #fff;
    margin-top: 10px;
    padding: 15px;
}

.yspb-recommended-doctors {
    width: 100%;
}

.yspb-recommended-title {
    font-size: 16px;
    font-weight: bold;
    color: #000;
    margin-bottom: 15px;
}

.yspb-doctors-scroll-container {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.yspb-doctors-scroll-container::-webkit-scrollbar {
    display: none;
}

.yspb-doctors-list {
    display: flex;
    gap: 12px;
    padding-bottom: 5px;
    min-width: max-content;
}

.yspb-doctor-card {
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 12px;
    min-width: 120px;
    flex-shrink: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.yspb-doctor-card:hover {
    background-color: #e3f2fd;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.yspb-doctor-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    flex-shrink: 0;
    object-fit: cover;
}

.yspb-doctor-info-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.yspb-doctor-name-card {
    font-size: 14px;
    font-weight: bold;
    color: #000;
    line-height: 1.2;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.yspb-doctor-title-card {
    font-size: 12px;
    color: #666;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.yspb-bg-one-title-text-box6 {
    width: 100%;
    background-color: #fff;
    margin-top: 10px;
    padding: 15px;
    border-radius: 8px;
}

.yspb-patient-reviews {
    width: 100%;
}

.yspb-reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.yspb-reviews-title {
    font-size: 16px;
    font-weight: bold;
    color: #000;
}

.yspb-reviews-count {
    font-size: 14px;
    color: #000;
    font-weight: 500;
}

.yspb-reviews-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.yspb-review-item {
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
}

.yspb-review-item:last-child {
    border-bottom: none;
}

.yspb-review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.yspb-patient-name {
    font-size: 14px;
    font-weight: 500;
    color: #000;
}

.yspb-review-rating {
    display: flex;
    gap: 2px;
}

.yspb-star {
    color: #ffc107;
    font-size: 16px;
    line-height: 1;
}

.yspb-review-content {
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    margin-bottom: 8px;
}

.yspb-review-time {
    font-size: 12px;
    color: #999;
}

.yspb-reviews-footer {
    display: flex;
    justify-content: center;
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

.yspb-more-reviews {
    color: #1890ff;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.yspb-more-reviews:hover {
    color: #40a9ff;
}